Class: RequestError
client/requestError.RequestError
Error thrown when an http request returns a non-ok status code.
Hierarchy
-
Error
↳
RequestError
Constructors
constructor
• new RequestError(message
, opts?
): RequestError
Parameters
Name | Type |
---|---|
message | string |
opts? | RequestErrorOptions |
Returns
Overrides
Error.constructor
Defined in
src/web-app/src/client/requestError.ts:19
Properties
status
• Optional
status: number
Status code of the failed request.